package com.yipinhouse.signing.service;

import com.yipinhouse.signing.infra.model.Contract;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yipinhouse.signing.service.dto.ContractDto;
import com.yipinhouse.signing.service.param.UploadContractServiceParam;

import java.util.List;

/**
 * <p>
 * 合同表 服务类
 * </p>
 *
 * @author WangCong
 * @since 2022-12-01
 */
public interface ContractService extends IService<Contract> {

    void uploadContract(UploadContractServiceParam tempParam);

    List<ContractDto> getContractByUser(Integer userId);

}
